package com.juc.semaphore.semaphore16;

import com.juc.semaphore.semaphore16.Service;

public class ThreadA  extends Thread{
	
     private Service service;
	
	public ThreadA(Service service){
		super();
		this.service =service;
	}
	@Override
	public void run(){
		service.testMethod();
	}

}
